#docker run -it -d -v /dockfile/vqapi:/dockfile/vqapi -p 9090:9091 --name vq-api-service-1.0-instace1

FROM  frolvlad/alpine-oraclejdk8:slim
VOLUME /var/www/docker/amp-wechat
ADD icart-wechat-1.0-SNAPSHOT.jar app.jar
RUN sh -c 'touch /app.jar'
ENV JAVA_OPTS=""
EXPOSE 8013
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar" ]
